//
//  VentstacksScene.h
//  projecthz
//
//  Created by YDJH on 2017/5/3.
//  Copyright © 2017年 tali. All rights reserved.
//

#import <UIKit/UIKit.h>


@class HZRoom;

typedef NS_ENUM(NSUInteger, VentStacksDirection) {
    VentStacksDirection_left,
    VentStacksDirection_right,
    VentStacksDirection_down,
};

typedef void(^VentstacksSceneDownback)(VentStacksDirection direction, HZRoom *room);

@interface VentstacksScene : UIImageView


- (instancetype)initWithFrame:(CGRect)frame callback:(VentstacksSceneDownback)callback;

/**
 配置视图方法

 @param index 当前在房间中的位置
 @param array 一层楼的所有房间
 */
- (void)configureViewWithCurrentRoomIndex:(NSIndexPath *)index andRoomArray:(NSMutableArray <HZRoom *>*)array;

@end
